﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SendNotice.aspx.cs" Inherits="HealthSystem.sysAdmin.SendNotice" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager runat="server" AutoSizePanelID="p1" />
    <ext:Panel runat="server" ID="p1" Layout="Fit" ShowBorder="false" ShowHeader="false">
        <Toolbars>
            <ext:Toolbar runat="server">
                <Items>
                    <ext:ToolbarFill runat="server"></ext:ToolbarFill>
                    <ext:Button runat="server" ID="btnNew" Text="新通知" Icon="Add"></ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Grid ID="Grid1" DataKeyNames="NoticeCode" runat="server" ShowBorder="false" ShowHeader="false" AllowPaging="true" IsDatabasePaging="true" OnPageIndexChange="pageIndex_Change" OnRowCommand="Row_Command">
                <Columns>
                    <ext:BoundField DataField="NoticeTiltle" HeaderText="通知标题"/>
                    <ext:BoundField DataField="NoticeContent" HeaderText="通知内容"/>
                    <ext:BoundField DataField="CreateDate" HeaderText="创建时间"/>
                    <ext:BoundField DataField="StartDate" HeaderText="有效时间开始"/>
                    <ext:BoundField DataField="EndDate" HeaderText="有效时间结束" />
                    <ext:CheckBoxField DataField="Statute"  HeaderText="是否发送" />
                    <ext:LinkButtonField HeaderText="发送" Text="发送" ConfirmText="确认发送？" CommandName="send" />
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>
     <ext:Window ID="Window1" CloseAction="HidePostBack" runat="server" IsModal="true" Hidden="true" Target="Self"
        EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank"
        Width="750px" Height="450px" OnClose="Window1_Close">
    </ext:Window>
    </form>
</body>
</html>
